<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" th:href="@{/css/login.css}">
</head>
<body>
<div class="login-wrap">
    <div class="login-content">
    <h2 class="title" style="color: white">登录</h2>
    <form method="post" th:action="@{/login}">
        <input type="text" name="username" placeholder="用户名">
        <div class="error-div"><label></label></div>
        <input type="password" name="password" placeholder="密码" autocomplete="off">
        <div class="error-div"><label></label></div>
        <input class="loginBtn" type="submit" value="登录">
    </form>
    <div class="footer"><a href="#">还没有账号？前往注册</a></div>
        <p th:text="${msg}" style="color: red"></p>
</div>
</div>

<script th:src="@{/dist/jquery/jquery-3.4.1.min.js}"></script>
<script th:src="@{/dist/semantic/semantic.min.js}"></script>
</body>
</html>